package com.lt.crm.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;

import javax.management.relation.Role;

/**
 * 
 * @TableName sys_user
 */
@TableName(value ="sys_user")
@Data
public class SysUser implements Serializable {
    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Long usrId;

    /**
     * 姓名
     */
    private String usrName;

    /**
     * 密码
     */
    private String usrPassword;

    /**
     * 角色编号
     */
    private Long usrRoleId;

    /**
     * 状态
     */
    @TableLogic(value = "1",delval = "0")
    private Integer usrFlag;

    @TableField(exist = false)
    private SysRole role;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}